package annotation.test2;
//串讲步骤2: 创建Dog类,并添加注解
/**
 * @author 甘赵辉
 * @date 2023/2/28
 */
@Bean("dog")
public class Dog {
    public void eat(){
        System.out.println("狗啃骨头");
    }
}
